<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <h2>模板</h2>
    <?php echo 'cms';?>
    <hr>


    <br>?s=cms/index/index
    <br>?s=cms/index/index2
    <br>
    <br>admin.php?s=admin/index/index

    <br>url网址跳转
    <br>
    <a href="<?php echo url(['cms','index','index2'],['id'=>123,'name'=>'z3']); ?>"><?php echo url(['cms','index','index2'],['id'=>123,'name'=>'z3']); ?></a>
    <br>
    <a href="<?php echo url(['cms','admin.index','index2'],['id'=>123,'name'=>'z3']); ?>"><?php echo url(['cms','admin.index','index2'],['id'=>123,'name'=>'z3']); ?></a>
    <br>
    <a href="<?php echo url(['admin','index','index2','admin.php'],['id'=>123,'name'=>'z3']); ?>"><?php echo url(['admin','index','index2','admin.php'],['id'=>123,'name'=>'z3']); ?></a>

</body>
</html>